home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / juicy_lucy.swf / scripts / frame_170 / DoAction_2.as next >
Text File  |  2011-08-19  |  2KB  |  59 lines

  1. function checkParamsLoaded1()
  2. {
  3.    var _loc1_ = _global;
  4.    if(_level0.loaded5 == "false")
  5.    {
  6.       trace("not yet.");
  7.    }
  8.    else
  9.    {
  10.       trace("DONE.");
  11.       if(peoplelist != "")
  12.       {
  13.          _loc1_.people_array = peoplelist.split(",");
  14.          var _loc2_ = 0;
  15.          while(_loc2_ < _loc1_.people_array.length)
  16.          {
  17.             trace(_loc1_.people_array[_loc2_]);
  18.             _loc2_ = _loc2_ + 1;
  19.          }
  20.       }
  21.       if(highscores != "")
  22.       {
  23.          _loc1_.highscore_array = highscores.split(",");
  24.          _loc2_ = 0;
  25.          while(_loc2_ < _loc1_.highscore_array.length)
  26.          {
  27.             trace(_loc1_.highscore_array[_loc2_]);
  28.             _loc2_ = _loc2_ + 1;
  29.          }
  30.       }
  31.       if(agelist != "")
  32.       {
  33.          _loc1_.age_array = agelist.split(",");
  34.          _loc2_ = 0;
  35.          while(_loc2_ < _loc1_.age_array.length)
  36.          {
  37.             trace(_loc1_.age_array[_loc2_]);
  38.             _loc2_ = _loc2_ + 1;
  39.          }
  40.       }
  41.       if(countrylist != "")
  42.       {
  43.          _loc1_.country_array = countrylist.split(",");
  44.          _loc2_ = 0;
  45.          while(_loc2_ < _loc1_.country_array.length)
  46.          {
  47.             trace(_loc1_.country_array[_loc2_]);
  48.             _loc2_ = _loc2_ + 1;
  49.          }
  50.       }
  51.       gotoAndStop("hdone");
  52.       clearInterval(param_interval);
  53.    }
  54. }
  55. _level0.loaded5 = "false";
  56. loadVariablesNum("loadhighscore.php",0);
  57. var param_interval = setInterval(checkParamsLoaded1,100);
  58. stop();
  59.